BUI.use('bui/menu',function(Menu){
	var menu = new Menu.PopMenu({
		trigger:".button-menu,.global-menu",
		autoRender:true,
		children:[{id:'/?a=gamecfg&m=Shopmanage',content : "活动设置"},
				{id:'/?a=bandcfg&m=Shopmanage&c=frontcfg',content : "外观配置"},
				{id:'/?a=gamegg&m=Shopmanage',content : "公告配置"},
				{id:'/?c=chajian&m=Shopmanage',content : "插件管理"},
				{id:'/?c=jifen&m=Shopmanage',content : "积分管理"},
				{id:'/?a=manual&c=wins&m=Shopmanage',content : "手动抽奖"},
				{id:'/?a=gamecfg&m=Shopmanage&repick=1',content : "切换活动类型"},]
	});
	menu.on('itemselected', function(){
          location.href=(menu.getSelectedValue());
        })
    menu.render()
});